<include file="Public/header"/>
<include file="Public/menu"/>
<div class="page-content">
	<div class="page-header">
		<h1>
			职位管理
			<small>
				<i class="icon-double-angle-right"></i>
				职位列表
			</small>
		</h1>
	</div>
	<!-- /.page-header -->
	<!-- PAGE CONTENT BEGINS -->
	<div class="row">
		<div class="col-xs-12">
			<div class="row">
				<div class="tabbable">
					<ul class="nav nav-tabs" id="myTab">
						<li class="active">
							<a href="{:U('Admin/Job/index')}">
								<i class="green icon-home bigger-110"></i>
								职位列表
							</a>
						</li>
					</ul>
					<div class="tab-content">
											<div class="tab-pane in active">
												<div class="table-responsive">
													<div role="grid" class="dataTables_wrapper" id="sample-table_wrapper">
														<div role="grid" class="dataTables_wrapper" id="sample-table_wrapper">
															<table class="table table-striped table-bordered table-hover dataTable" id="sample-table" aria-describedby="sample-table_info">
														<thead>
														<tr role="row">
															<th class="sorting_disabled center" role="columnheader" rowspan="1" colspan="1" style="width: 5%;" aria-label="ID">ID</th>
															<th class="sorting_disabled center" role="columnheader" rowspan="1" colspan="1" style="width: 21%;" aria-label="企业">企业</th>
															<th class="sorting_disabled center" role="columnheader" rowspan="1" colspan="1" style="width: 10%;" aria-label="职位名称">职位名称</th>
															<th class="sorting_disabled center" role="columnheader" tabindex="0" aria-controls="sample-table" rowspan="1" colspan="1" style="width: 8%;" aria-label="月薪">月薪</th>
															<!-- <th class="center sorting_asc" role="columnheader" tabindex="0" aria-controls="sample-table" rowspan="1" colspan="1" style="width: 8%;" aria-label="招聘人数: activate to sort column ascending">招聘人数</th> -->
															<th class="sorting_disabled center" role="columnheader" rowspan="1" colspan="1" style="width: 8%;" aria-label="要求学历">要求学历</th>
															<th class="sorting_disabled center" role="columnheader" rowspan="1" colspan="1" style="width: 8%;" aria-label="工作年限">工作年限</th>
															<th class="sorting_disabled center" role="columnheader" rowspan="1" colspan="1" style="width: 5%;" aria-label="热门">是否热门</th>
															<th class="sorting_disabled center" role="columnheader" rowspan="1" colspan="1" style="width: 8%;" aria-label="修改时间">修改时间</th>
															<th class="sorting_disabled center" role="columnheader" rowspan="1" colspan="1" style="width: 7%;" aria-label="操作">操作</th>
														</tr>
														</thead>
													<tbody role="alert" aria-live="polite" aria-relevant="all">
														<foreach name="list" item="l">
														<tr class="">
															<td class="center sorting_1">{$l.job_id}</td>
															<td class="">{$l.comname}</td>
															<td class="">{$l.positionname}</td>
															<td class="center">{$l.salarymin}-{$l.salarymax}<span style="color:#888888;">K</span></td>
															<!-- <td class="center">2人</td> -->
															<td class="center">{$l.education}</td>
															<td class="center">{$l.workyear}</td>
															<td class="center">
																<if condition="$l[is_hot] eq 1">
																<span class="label label-sm label-success arrowed arrowed-righ">热门</span>
																<else />普通
																</if>
															</td>
															<td class="center">{$l.pubtime|date='Y-m-d H:i:s',###}</td>
															<td class="center">
																<div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
																	<a class="green" href="{:U('Admin/Job/joblist',array('id'=>$l['job_id']))}" title="详细资料">
																		 <i class="icon-zoom-in bigger-130"></i>&nbsp;
																 </a>
																		<a title="删除" href="{:U('Admin/Job/del',array('id'=>$l['job_id']))}" class="red del" onclick="return confirmAct();">
																			<i class="icon-trash bigger-130"></i>

																		</a>
																	</div>
																</td>
															</tr>
														  </foreach>
							                </tbody>
								              </table>

															<div class="row">
																<div class="col-sm-6">
																	<div class="dataTables_info" id="sample-table_info">共 {$count} 条记录</div>
																</div>
															  <div class="col-sm-6">
																	<div class="dataTables_paginate paging_bootstrap">{$page}</div>
																</div>
															</div>
														</div>
													</div>
												</div>
	<!-- PAGE CONTENT END -->
</div>
</div>
</div>
<script type="text/javascript" language="javascript">
<!--
function confirmAct()
{
    if(confirm('确定要删除吗?'))
    {
        return true;
    }
    return false;
}
//-->
</script>
<include file="Public/footer"/>
